package com.xubeizhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xubeizhi.entity.Debt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
@Repository
public interface DebtMapper extends BaseMapper<Debt> {

    List<Debt> listDebt(@Param("name") String name, @Param("status") String status, @Param("remove_status") String removeStatus);

    List<Debt> list();

    List<Debt> searchList(@Param("name") String name, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
